package com.sanjiahantang.youjiaclient.module.evaluate.beans;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.sanjiahantang.youjiaclient.base.BaseBean;
import com.sanjiahantang.youjiaclient.module.goods.beans.GoodsBean;

import org.json.JSONException;
import org.json.JSONObject;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by zy on 2017/11/2.
 */

public class GoodsAppraiseInitResponse extends BaseBean {

    private String data;

    public List<Data> getData() {
        return new Gson().fromJson(data,new TypeToken<List<Data>>(){}.getType());
    }

    public void setData(String data) {
        this.data = data;
    }

    public static class Data{

        private String goodsName;
        private int maiId;
        private int mgiId;
        private String orderCode;
        private String phone;
        private String skuFaId;
        private String url;
        private float basePrice;
        private String goodsPropertyName;
        private String number;
        private String place;
        private String sendUser;
        private List<GoodsBean.Image> imageList;
        private String orderRecordCode;

        public String getOrderRecordCode() {
            return orderRecordCode;
        }

        public void setOrderRecordCode(String orderRecordCode) {
            this.orderRecordCode = orderRecordCode;
        }

        public List<GoodsBean.Image> getImageList() {
            return imageList;
        }

        public void setImageList(List<GoodsBean.Image> imageList) {
            this.imageList = imageList;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public int getMaiId() {
            return maiId;
        }

        public void setMaiId(int maiId) {
            this.maiId = maiId;
        }

        public int getMgiId() {
            return mgiId;
        }

        public void setMgiId(int mgiId) {
            this.mgiId = mgiId;
        }

        public String getOrderCode() {
            return orderCode;
        }

        public void setOrderCode(String orderCode) {
            this.orderCode = orderCode;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getSkuFaId() {
            return skuFaId;
        }

        public void setSkuFaId(String skuFaId) {
            this.skuFaId = skuFaId;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public float getBasePrice() {
            return basePrice;
        }

        public void setBasePrice(float basePrice) {
            this.basePrice = basePrice;
        }

        public String getGoodsPropertyName() {
            return goodsPropertyName;
        }

        public void setGoodsPropertyName(String goodsPropertyName) {
            this.goodsPropertyName = goodsPropertyName;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getPlace() {
            return place;
        }

        public void setPlace(String place) {
            this.place = place;
        }

        public String getSendUser() {
            return sendUser;
        }

        public void setSendUser(String sendUser) {
            this.sendUser = sendUser;
        }
    }
}
